﻿

<html>
<head>
<title>CSS3 Border Top Test</title>

<style type="text/css">
body {border-top: solid red;} 
h3 {border-top: aqua solid 50px;}
h4 {border-top:  5mm silver dashed;}
em {border-top: 5px dotted green;}
blockquote {border-top: 200%;}
</style>
</head>

<body>




<h1>CSS3 Border Top Test</h1>





<ul>
<li >
For "border-top", initial is (see individual properties), it applies to all elements,
it is not inherited, percentage values are N/A, media is visual, and computed value is
absolute values.
</li>
</ul>
<h2>
PASS CRITERIA:
</h2>
<p>
If statement above is correct, this paragraph should have the 
border top determined by initial indivdual property values.  No specific CSS rules are applied.  However, the
border top property does apply to the p element.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively. 
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
</p>
<h3>
This h3 heading has a border top of aqua solid 50px, but this <em>emphasized text
</em> has a border top of 5px dotted green; the rules applied are:
"h3 {border-top: aqua solid 50px;}"
"em {border-top: 2px dotted green;}"
So the border top property applies to the h3 and em elements.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively. 
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
</h3>
<h4>
This h4 heading has a border top property of 5mm silver dashed (because of the
rule "h4 {border-top: 5mm silver dashed;}", but these <i>italicized words</i>
have a border top of (initial values of individual properties)(no specific CSS rules applied to
"i" element), because the border-top
property does not inherit.  
However, the border top property does apply to the h4 and i elements.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively. 
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
</h4>
<blockquote>
This blockquote element should have a UA-default border top.  The
nonsensical rule "blockquote {border-top: 200%}" should be ignored,
but the border-top property does apply to the blockquote element.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively. 
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
Here is some more text to test this more effectively.
</blockquote>
<p>
All other properties of this page should be UA-default.
This is a paragraph, like the one above.  Also, the body's border top should be solid red,
because of the rule "body {border-top: solid red;}".   
</p>

</body>
</html>
